MPHB\BookingRules\Custom\CustomRules B

Total Complexity 94
Dependencies 2
Dependents 2
Total lines 468
Lines of code 284
Logical lines of code 184
Comment lines 77
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
filter()
B
43 19 46
getCommentsByDates()
A
45 15 40
getBlockedRoomsCounts()
A
45 13 40
__construct()
A
51 8 29
getUnavailableRooms()
S
53 6 22
verify()
S
56 6 19
mergeRestrictions()
S
60 5 13
getGlobalTypeRestrictions()
S
59 4 15
getGlobalRulesForRoomTypeId()
S
61 4 13
verifyNotStayInRestriction()
S
60 4 13
getGlobalRestrictions()
S
62 3 12
verifyNotCheckInRestriction()
S
66 3 9
verifyNotCheckOutRestriction()
S
66 3 9
getUnavailableRoomsCount()
S
75 1 4